@extends('layouts.header')
@inject('sender','App\Http\Controllers\WroteitController')
@section('content')
    <h2>Outbox</h2>
    <h3>{{$message->title}}</h3>
    <h5>From: {{$sender::getSender($message)->name}} at {{$message->created_at}}</h5>
    <h4>{{$message->body}}</h4>
@endsection()